package com.chenhao.springcloud.chenhaodesignservice.pattern.creational.abstractfactory;

/**
 * Description:
 *
 * @author chenhao
 * @date 2020/12/15 15:21
 */
public class JavaCourseFactory implements CourseFactory{
    @Override
    public Video getVideo() {
        return new JavaVideo();
    }

    @Override
    public Article getAttice() {
        return new  JavaAticle();
    }
}
